#include "Db.h"
#include <stdio.h>
#include <string.h>

CDb::CDb()
{
}

int CDb::OpenDb()
{
	int rc = 0;
	rc = sqlite3_open("anything-test.db", &pdb);
	if (rc)
	{
		fprintf(stderr , "can't open database: %s\n",sqlite3_errmsg(pdb));
		sqlite3_close(pdb) ;
		return -1;
	}
	return 0;
}
